package com.hutao.manage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hutao.manage.pojo.MrPageType;

public interface MrPageTypeMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(MrPageType record);

    int insertSelective(MrPageType record);


    MrPageType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MrPageType record);

    int updateByPrimaryKey(MrPageType record);
    
    List<MrPageType> getMrPageTypes();
    
    List<Map<String,Object>> getMrPageTypesOfPaginationCountByFirstGuid(@Param("firstGuid")String firstGuid);
    
    List<Map<String,Object>> getMrPageTypesOfPaginationCountByFirstGuidAndMrPageId(@Param("firstGuid")String firstGuid,@Param("mrPageTypes")List<Integer> mrPageTypes);
}